package DONHUTHANH;

import java.util.Scanner;

public class MyList {
	/*
	 * public static void main(String[] args) { int []myList; myList = new
	 * int[10]; Scanner sc= new Scanner(System.in); for(int i
	 * =0;i<myList.length;i++){ System.out.println("ptu thu "+i+":");
	 * myList[i]=sc.nextInt(); } int moc= myList[0]; for(int
	 * i=0;i<myList.length;i++){ if (myList[i]>=moc) moc = myList[i]; }
	 * System.out.println("ptu lon nht:"+moc); }
	 */
	public static void main(String[] args) {
		int[] myList;
		myList = new int[10];
		Scanner sc = new Scanner(System.in);
		for (int i = 0; i < myList.length; i++) {
			System.out.println("ptu thu " + i + ":");
			myList[i] = sc.nextInt();
		}
		Controller Con = new Controller(myList);
		System.out.println("phtu lon nht:" + Con.vlue(myList));

	}
}
